ArcFM Responder Mobile Developer Guide
IsInSet(Object,Object[]) Method






A value to compare against a set of values
A set expected values
Indicates whether a value is equivalent to at least one of a set of expected values.
Syntax
'Declaration
 
Public Overloads Shared Function IsInSet( _
   ByVal value As System.Object, _
   ByVal ParamArray expectedValues() As System.Object _
) As System.Boolean
'Usage
 
Dim value As System.Object
Dim expectedValues() As System.Object
Dim value As System.Boolean
 
value = DbCompare.IsInSet(value, expectedValues)
public static System.bool IsInSet( 
   System.object value,
   params System.object[] expectedValues
)
public function IsInSet( 
    value: System.TObject;
   params  expectedValues: System.TObjectarray of
): System.Boolean; static; 
public static function IsInSet( 
   value : System.Object,
   expectedValues : System.Object[]
) : System.boolean;
public: static System.bool IsInSet( 
   System.Object* value,
   params System.Object*[]* expectedValues
) 
public:
static System.bool IsInSet( 
   System.Object^ value,
   ... System.array<Object^>^ expectedValues
) 

Parameters

value
A value to compare against a set of values
expectedValues
A set expected values

Return Value

True if the value exists in the set of expected values, otherwise false.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DbCompare Class
DbCompare Members
Overload List

Send Feedback